﻿using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyBookReadsList.Models
{
    public class User
    {
        public int Id { get; set; }
        public string username { get; set; }
        public string authCode { get; set; }
        public string sessionKey { get; set; }
        public bool IsEditor { get; set; }
        public bool IsAuthor { get; set; }
        public IList<Book> Books { get; set; }
        public IList<Comment> Comments { get; set; }
        public IList<Review> Reviews { get; set; }
    }
}
